#{extends 'main.html' /} #{set title:'Home' /}

<div id=main>

<h1>All Drafts</h1>
<ul>
	#{list items:drafts, as:'Draft'}
	<li><a href="@{DraftController.showOpenedDraft(Draft.id)}">${Draft.subject}</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${Draft.time}
	</li> #{/list}
</ul>
#{else}
<p>You have no drafts
<p>#{/else}

</div>


